package com.zzedu.dto;

import com.fasterxml.jackson.annotation.*;
import java.util.*;
import java.time.*;
import java.math.*;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import java.time.LocalDateTime;

/**
 * 收费订单对象 zz_charge_order
 * 
 * @author Mr.Wang
 * @date 2025-10-15
 */
public class ZzChargeOrderDTO implements Serializable
{
    private static final long serialVersionUID = 1L;
    /** $column.columnComment */

    private Long id;
    /** 计费开始日期 */

    private LocalDateTime startDate;
    /** 计费结束日期 */

    private LocalDateTime endDate;
    /** 是否删除 */
    private Integer deleted;
    /** 学校ID */
    private Long schoolId;
    /** 付费状态 1-未付款 0-已付款 */
    private Integer payState;
    /** 付款金额(分) */
    private BigDecimal amount;
    /** 创建时间 */

    private LocalDateTime gmtCreate;
    /** 最后修改时间 */

    private LocalDateTime gmtModify;
    /** 收款确认人 */
    private Long doUserId;
    /** 收款确认时间 */

    private LocalDateTime doTime;
    /** 收款备注 */
    private String doRemark;
    /** 创建人 */
    private Long createBy;
    /** 修改人 */
    private Long updateBy;
    /** 计费年月 */
    private String calcMonth;
    private Map<String, Object> params;
    /**
     * 当前记录起始索引
     */
    private Long pageNum = 1l;

    /**
     * 每页显示记录数
     */
    private Long pageSize = 20l;

    /**
     * 排序列
     */
    private String orderByColumn;

    /**
     * 排序的方向desc或者asc
     */
    private String isAsc = "asc";

    private List<Long> schoolIdArray;

    /**
     * 生效状态 1-待生效 2-已生效  3-已结束 4-已作废
     */
    private Integer validFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDateTime getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDateTime startDate) {
        this.startDate = startDate;
    }

    public LocalDateTime getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDateTime endDate) {
        this.endDate = endDate;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Integer getPayState() {
        return payState;
    }

    public void setPayState(Integer payState) {
        this.payState = payState;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(LocalDateTime gmtModify) {
        this.gmtModify = gmtModify;
    }

    public Long getDoUserId() {
        return doUserId;
    }

    public void setDoUserId(Long doUserId) {
        this.doUserId = doUserId;
    }

    public LocalDateTime getDoTime() {
        return doTime;
    }

    public void setDoTime(LocalDateTime doTime) {
        this.doTime = doTime;
    }

    public String getDoRemark() {
        return doRemark;
    }

    public void setDoRemark(String doRemark) {
        this.doRemark = doRemark;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public String getCalcMonth() {
        return calcMonth;
    }

    public void setCalcMonth(String calcMonth) {
        this.calcMonth = calcMonth;
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public Long getPageNum() {
        return pageNum;
    }

    public void setPageNum(Long pageNum) {
        this.pageNum = pageNum;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public String getOrderByColumn() {
        return orderByColumn;
    }

    public void setOrderByColumn(String orderByColumn) {
        this.orderByColumn = orderByColumn;
    }

    public String getIsAsc() {
        return isAsc;
    }

    public void setIsAsc(String isAsc) {
        this.isAsc = isAsc;
    }

    public List<Long> getSchoolIdArray() {
        return schoolIdArray;
    }

    public void setSchoolIdArray(List<Long> schoolIdArray) {
        this.schoolIdArray = schoolIdArray;
    }

    public IPage getPageDTO() {
        return PageDTO.of(getPageNum(), getPageSize());
    }

    public Integer getValidFlag() {
        return validFlag;
    }

    public void setValidFlag(Integer validFlag) {
        this.validFlag = validFlag;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
